const express = require('express')

const app = express()

app.engine('html', require('express-art-template'))

app.get('/', (req, res) => {
  res.render('index.html')
})

app.post('/', (req, res) => {
  console.log('转账请求')
  res.render('index.html')
})

app.get('/clickjacking', (req, res) => {
  res.render('clickjacking.html')
})

app.listen(3000, () => {
  console.log('http://localhost:3000')
})
